home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Applications 1999 May / SGI IRIX 6.5 Applications 1999 May.iso / insight / ja_JP.EUC_bookshelves / Help / books / CustLinkHelp / styles / frontmatter < prev    next >
Text File  |  1999-04-19  |  6KB  |  213 lines

  1. <!-- Version $Revision: 1.22 $ of the frontmatter revelatory stylesheet -->
  2.  
  3. <!ENTITY    body.font-family    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,jiiv_mincho,DEFAULT,new century schoolbook)"    >
  4. <!ENTITY    body.font-size    CDATA    "12"    >
  5. <!ENTITY    body.line-space    CDATA    "14"    >
  6. <!ENTITY        character-set   CDATA   "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,*,DEFAULT,)"      >
  7. <!ENTITY    chp.title.font-size    CDATA    "18"    >
  8. <!ENTITY    chp.title.line-space    CDATA    "27"    >
  9. <!ENTITY    chp.title.space-b4    CDATA    "5"    >
  10. <!ENTITY    default.foreground    CDATA    "if(env(INSIGHT_FG),env(INSIGHT_FG),grey20)"    >
  11. <!ENTITY    default.space-b4    CDATA    "6"    >
  12. <!ENTITY    doc.title.font-size    CDATA    "24"    >
  13. <!ENTITY    doc.title.line-space    CDATA    "36"    >
  14. <!ENTITY    font-slant.italics    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,*,DEFAULT,Italics)"    >
  15. <!ENTITY    font-slant.roman    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,*,DEFAULT,Roman)"    >
  16. <!ENTITY    font-weight.bold    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,Medium,DEFAULT,Bold)"    >
  17. <!ENTITY    font-weight.medium    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,Medium,DEFAULT,Medium)"   >
  18. <!ENTITY    left-indent.1    CDATA    "12"    >
  19. <!ENTITY    right-indent.1    CDATA    "10"    >
  20. <!ENTITY        title-font      CDATA   "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,jiiv_mincho,DEFAULT,new century schoolbook)"      >
  21. <!ENTITY        title.font-family       CDATA   "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,jiiv_gothic,DEFAULT,helvetica)"   >
  22. <!ENTITY    title.left-indent    CDATA    "-6"    >
  23. <!ENTITY        title.text.b4-lsp       CDATA   "0"     >
  24. <!ENTITY        title.text.b4-size      CDATA   "13"    >
  25.  
  26. <sheet >
  27.  
  28.  
  29.  
  30. <?INSTED COMMENT: GROUP titles>
  31.  
  32. <group name="titles">
  33.     <font-family>    &title.font-family    </>
  34.     <font-weight>    &font-weight.bold    </>
  35.         <character-set> &character-set  </>
  36.     <foreground>    &default.foreground </>
  37.     <line-spacing>    &body.line-space    </>
  38.     <justification>    Left    </>
  39.     <break-before>    True    </>
  40. </group>
  41.  
  42. <style name="SUBTITLE" group="titles">
  43.     <font-size>    &chp.title.font-size    </>
  44.     <line-spacing>    &chp.title.line-space    </>
  45. </style>
  46.  
  47. <style name="TITLEPAGE,TITLE" group="titles">
  48.     <font-size>    &doc.title.font-size    </>
  49.     <line-spacing>    &doc.title.line-space    </>
  50.     <break-after>    True    </>
  51. </style>
  52.  
  53.  
  54.  
  55. <?INSTED COMMENT: UNGROUPED STYLES FOLLOW>
  56.  
  57. <style name="#QUERY">
  58.     <font-video>    Inverse    </>
  59.     <foreground>    gray55    </>
  60. </style>
  61.  
  62. <style name="#ROOT">
  63.         <character-set> &character-set  </>
  64.     <break-before>    Line    </>
  65. </style>
  66.  
  67. <!-- Default settings for SDATA entities from our entity sets -->
  68. <style name="#SDATA">
  69.     <font-family>    attr(font)    </>
  70.     <font-weight>    &font-weight.medium    </>
  71.     <font-slant>    &font-slant.roman    </>
  72.     <foreground>    &default.foreground </>
  73.     <character-set>    attr(charset)    </>
  74.     <text-before>char(attr(code))</>
  75. </style>
  76.  
  77. <style name="#TAGS">
  78.     <foreground>    purple    </>
  79. </style>
  80.  
  81. <style name="APPENDIX">
  82.     <hide>    Children    </>
  83. </style>
  84.  
  85. <style name="BOLD">
  86.         <font-family>           </>
  87.     <font-weight>    &font-weight.bold    </>
  88. </style>
  89.  
  90. <style name="CHAPTER">
  91.     <hide>    Children    </>
  92. </style>
  93.  
  94. <style name="CONTRIBUTORS">
  95.     <font-family>    &title.font-family    </>
  96.     <font-weight>    &font-weight.bold    </>
  97.     <space-before>    &chp.title.space-b4    </>
  98. </style>
  99.  
  100. <style name="COPYRIGHT">
  101.     <font-family>    new century schoolbook    </>
  102.     <font-weight>    &font-weight.bold    </>
  103.     <space-before>    &default.space-b4    </>
  104.     <break-before>    True    </>
  105.     <break-after>    True    </>
  106. </style>
  107.  
  108. <style name="CREDITSPAGE">
  109.     <break-before>    True    </>
  110.     <break-after>    True    </>
  111. </style>
  112.  
  113. <style name="CREDITSPAGE,PARAGRAPH">
  114.     <font-family>    &body.font-family    </>
  115.     <font-size>    &body.font-size    </>
  116.     <break-after>    True    </>
  117. </style>
  118.  
  119. <style name="DOCNUMBER">
  120.     <font-family>    &body.font-family    </>
  121.     <space-before>    &chp.title.space-b4    </>
  122.     <break-before>    True    </>
  123.     <break-after>    True    </>
  124. </style>
  125.  
  126. <style name="FIGURE">
  127.     <left-indent>    &left-indent.1    </>
  128.     <space-before>    if(eq(file(env(HOME)/.figsInsight),FILE),2,6)    </>
  129.     <space-after>    if(eq(file(env(HOME)/.figsInsight),FILE),2,6)    </>
  130.     <break-before>    True    </>
  131. </style>
  132.  
  133. <style name="GLOSSARY">
  134.     <hide>    Children    </>
  135. </style>
  136.  
  137. <style name="GRAPHIC">
  138.     <icon-position>    Left    </>
  139.     <select>    if(eq(file(env(HOME)/.figsInsight),FILE),GRAPHIC_OUT,GRAPHIC_IN)    </>
  140. </style>
  141.  
  142. <style name="GRAPHIC_IN">
  143.         <break-before>  True    </>
  144.     <script-title>    Graphic </>
  145.         <script>        ebt-if(contains(attr(FILE),.cgm),vector,raster) filename="attr(FILE)" title="content(rsibling('CAPTION'))"      </>
  146.         <inline>        if(contains(attr(FILE),.cgm),vector,raster) scale=if(isempty(attr(SCALE)),FALSE,attr(SCALE)) filename="attr(FILE)"      </>
  147. </style>
  148.  
  149. <style name="GRAPHIC_OUT">
  150.         <foreground>    &hot-link.color </>
  151.         <left-indent>   -=10    </>
  152.         <icon-position> Left    </>
  153.     <script-title>    Graphic </>
  154.         <script>        ebt-if(contains(attr(FILE),.cgm),vector,raster) filename="attr(FILE)" title="content(rsibling('CAPTION'))"      </>
  155.         <icon-type>     if(eq(file(var(fig_dir)/attr(FILE).hot),FILE),rasterhot,raster) </>
  156. </style>
  157.  
  158. <style name="INTRODUCTION">
  159.     <hide>    Children    </>
  160. </style>
  161.  
  162. <style name="ITALICS">
  163.     <font-slant>    &font-slant.italics    </>
  164. </style>
  165.  
  166. <style name="NAMES">
  167.     <font-weight>    &font-weight.medium    </>
  168.     <break-before>    True    </>
  169.     <break-after>    True    </>
  170. </style>
  171.  
  172. <style name="NEWLINE">
  173.         <line-spacing>  13      </>
  174.         <break-before>  if (ancestor(TITLE), false, true)       </>
  175. </style>
  176.  
  177. <style name="SGIDOC">
  178.     <font-family>    &body.font-family    </>
  179.     <font-size>    &body.font-size    </>
  180.     <foreground>    &default.foreground    </>
  181.     <left-indent>    &left-indent.1    </>
  182.     <right-indent>    &right-indent.1    </>
  183.     <line-spacing>    &body.line-space    </>
  184.     <break-before>    False    </>
  185.     <break-after>    True    </>
  186.     <column>    False    </>
  187. </style>
  188.  
  189. <style name="SGIINDEX">
  190.     <hide>    Children    </>
  191. </style>
  192.  
  193. <style name="SYM">
  194.     <font-family>    symbol    </>
  195.         <font-weight>   &font-weight.medium     </>
  196.     <character-set>    symbol    </>
  197. </style>
  198.  
  199. <style name="TECHNICAL">
  200.     <font-weight>    &font-weight.bold    </>
  201.     <space-before>    &default.space-b4    </>
  202.     <break-before>    True    </>
  203.     <break-after>    True    </>
  204. </style>
  205.  
  206. <style name="TITLEPAGE">
  207.     <break-before>    True    </>
  208. </style>
  209.  
  210.  
  211.  
  212. </sheet>
  213.